FROM frolvlad/alpine-java:jdk8-slim
MAINTAINER Hedy
WORKDIR .
# 时区设置
ENV ZT "Asia/Shanghai"
ENV LANG C.UTF-8
#JAVA_OPT
WORKDIR /app
ADD web.war .
RUN jar -xvf web.war
ADD application.yml ./WEB-INF/classes/config
ENTRYPOINT java -cp /app $JAVA_OPTS org.springframework.boot.loader.WarLauncher
EXPOSE 8980